package com.nitty.cash.loop.event

import com.nitty.cash.loop.request.HttpHelper
import com.nitty.cash.loop.request.IHttpCallback
import org.json.JSONObject

/**
 * EventPointHelper
 * @Author wwdeng
 * @CreateTime: 2024/11/18 19:38
 * @Annotation：埋点事件处理类
 */
object NittyEventPointHelper {

    /**
     * 添加打点事件
     */
    fun addEventPointRequestAction(eventName: String, remark: String = "") {
        HttpHelper.addPoint(eventName,remark,object : IHttpCallback {
            override fun onRequestSuccess(data: JSONObject) {
            }

            override fun onRequestError(error: JSONObject) {
            }

            override fun onRequestFinish() {
            }
        })
    }
}